package com.example.mntz.dao;

import com.example.mntz.model.Zh;
import com.example.mntz.model.ZhExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ZhMapper {
    long countByExample(ZhExample example);

    int deleteByExample(ZhExample example);

    int deleteByPrimaryKey(Integer zhId);

    int insert(Zh record);

    int insertSelective(Zh record);

    List<Zh> selectByExample(ZhExample example);

    Zh selectByPrimaryKey(Integer zhId);

    int updateByExampleSelective(@Param("record") Zh record, @Param("example") ZhExample example);

    int updateByExample(@Param("record") Zh record, @Param("example") ZhExample example);

    int updateByPrimaryKeySelective(Zh record);

    int updateByPrimaryKey(Zh record);

    double selectInitial(Integer zqId);
}